package com.tinyideatech.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tinyideatech.common.core.entity.BaseEntity;

import lombok.Data;

import java.util.List;

/**
 * @author zhangy-5
 * @date 2019-08-26
 */
@Data
@TableName("mall_goods")
public class MallGoods extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId
    private Long goodsId;
    private String goodsName;

    private Integer star;
    private Integer pageView;
    private String top;

    private Double price;
    private Double originalPrice;
    private String description;
    private String remark;
    private String subImages;
    private String mainImage;
    private String status;

    private Long classifyId;
    private String classifyName;

    private Integer stock;
    private Integer volume;

    private String url;
    private String md5;

    private String keywords;

    @TableField(exist = false)
    private List<String> imageList;

    @TableField(exist = false)
    private List<String> keywordsList;

    @TableLogic
    private String delFlag;

}
